'''
Description: 
Version: 2.0
Autor: Wayne Liu
Date: 2021-05-07 15:58:45
LastEditors: Wayne Liu
LastEditTime: 2021-05-07 16:04:54
'''

import urllib.request
import json

r = urllib.request.urlopen('http://httpbin.org/get')

text = r.read()

print(r.status, r.reason)

obj = json.loads(text)
print(obj)